import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// 首页引入的icon图标
import "../src/assets/font_Homepage/iconfont.css";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
// import axios from "axios";
import axios from "./utils/http";

// axios.defaults.baseURL = 'api/';

Vue.config.productionTip = false;
//所有地方都能使用ElementUI
Vue.use(ElementUI);
//所有vue实例中都有axios
Vue.prototype.$axios = axios;

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");